/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({

/***/ 0:
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by DuHuiling on 2017/2/22.
	 */
	//var Textarea = UcsmyUI.Textarea;
	var Textarea = __webpack_require__(9);

	var Root = React.createClass({displayName: "Root",
	    _change:function(){
	        console.log(22);
	    },
	    render:function(){
	        return (
	            React.createElement("div", null, 
	                React.createElement(Textarea, {cols: 70, onChange: this._change})
	            )
	        )
	    }
	});
	UcsmyUI.Render(Root,document.getElementById('main'));

/***/ },

/***/ 9:
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/23.
	 */

	var Textarea = React.createClass({displayName: "Textarea",
	    config:{
	        id:"",
	        value:"",
	        className:"",
	        rows:5,
	        cols:20,
	        placeholder:"这是文本域"
	    },
	    onChange:function(){
	        console.log(111);
	        this.props.onChange();
	    },
	    render:function(){
	        for(var key in this.props){
	            this.config[key] = this.props[key];
	        }
	        return(
	            React.createElement("textarea", {
	                id: this.config.id, 
	                className: "ucs-textarea " + this.config.className, 
	                rows: this.config.rows, 
	                cols: this.config.cols, 
	                onchange: this.onChange.bind(this), 
	                placeholder: this.config.placeholder
	            }, 
	                this.config.value
	            )
	        )
	    }
	});
	module.exports = Textarea;

/***/ }

/******/ });